Release 10.1A: OpenEdge Development:
Progress 4GL Reference
ATTACH-DATA-SOURCE( ) method
Attaches a Data-source object to a temp-table buffer in a ProDataSet object.
Return type: LOGICAL Applies to: Buffer object handle
buffer-handleA handle to the temp-table buffer in the ProDataSet object.
datasource-hdlA handle to the Data-source object.
pairs-listAn optional character expression that evaluates to a comma-separated list of field pairs that specify different names in the Data-source object buffer and the ProDataSet object buffer using the following syntax:
You can use the ATTACHED-PAIRLIST attribute to retrieve this list of field name pairs.
except-fieldsAn optional character expression that evaluates to a comma-separated list of fields in the ProDataSet object buffer that will not be populated with data from the data source (that is, fields to exclude). Use this option when it is easier to specify fields to exclude rather than include. You can specify
except-fieldsorinclude-fields, but not both.include-fieldsAn optional character expression that evaluates to a comma-separated list of fields to include in the ProDataSet object buffer, as an alternative to specifying fields to exclude in
except-fields. Use this option when it is easier to specify fields to include rather than exclude. You can specifyinclude-fieldsorexcept-fields, but not both. If you specifyinclude-fields, you must setexcept-fieldsto the Unknown value (?).See also
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |